{extend name="layout/layout" /}
{block name="title"}企业新闻{/block}
{block name="container"}
        <!-- SERVICE PAGE BANNER -->

        {include file="layout/banner"}

        <div class="container news-content">
            <div class="linkbar">
                {:__('current_position')}：
                <a href="/">{:__('home_page')} <i class="ti-angle-double-right"></i></a>
                {:__('company_news')}
            </div>
        </div>

        <!-- SERVICE PAGE BANNER -->

        <!-- SERVICE START -->
        <section class="service-section">
            <div class="container">
                <div class="row">
                    <div class="col-12">
                        <div class="section-title text-center">
                            <h2><span>{:__('company_news')}</span> </h2>
                            {if $lang == 'zh-cn'}
                            <p>Corporate News</p>
                            {/if}
                        </div>
                    </div>
                </div>

                <div class="row">
                    <?php foreach($news as $v): ?>
                    <div class="col-lg-4 col-md-6 col-sm-6">
                        <div class="item-block-05">
                            <div class="item-bg">
                                <img src="<?php echo $v['image']; ?>" alt="1">
                                <span><?php echo $v['createtime']; ?></span>
                            </div>
                            <div class="item-content text-left">
                                <h6 class="news-item-title">
                                    <a href="/news/corporate/<?php echo $v['id']; ?>"><?php echo $v['title']; ?></a>
                                </h6>
                                <p class="news-item-desc">
                                    <?php echo $v['description']; ?>
                                </p>
                                <div class="item-btn">
                                    <a href="/news/corporate/<?php echo $v['id']; ?>" class="btn btn-secondary text-uppercase">{:__('more_information')}</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php endForeach; ?>
                </div>

                {include file="layout/paginate" /}
            </div>
        </section>
        <!-- SERVICE END -->

{/block}